import 'package:kkhousekeep/generated/json/base/json_field.dart';
import 'package:kkhousekeep/generated/json/me_user_info_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class MeUserInfoEntity {
	late int code;
	late MeUserInfoObj obj;
	late String msg;

	MeUserInfoEntity();

	factory MeUserInfoEntity.fromJson(Map<String, dynamic> json) => $MeUserInfoEntityFromJson(json);

	Map<String, dynamic> toJson() => $MeUserInfoEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MeUserInfoObj {
	late String image;
	late int id;

	MeUserInfoObj();

	factory MeUserInfoObj.fromJson(Map<String, dynamic> json) => $MeUserInfoObjFromJson(json);

	Map<String, dynamic> toJson() => $MeUserInfoObjToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}